#ifndef MYMESSAGEBOX_H
#define MYMESSAGEBOX_H

#include <QMessageBox>
#include <QCloseEvent>
class MyMessageBox:public QMessageBox
{
    Q_OBJECT
public:
    MyMessageBox();
protected:
    void closeEvent(QCloseEvent *event);
public slots:
    void close();
    void done(int);
};

#endif // MYMESSAGEBOX_H
